package com.yunxin.core.application.command.popup;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serializable;

/**
 * @author zero°
 * @since 2023-12-11
 */
@Data
@Schema(description = "新增推荐弹窗对象")
public class AddPopupCommand implements Serializable {

    @Schema(description = "名称")
    @NotBlank(message = "弹窗名称不能为空")
    private String popupName;

    @Schema(description = "备注")
    private String remark;

    /**
     * 创建人
     */
    @Schema(hidden = true)
    private String creator;
}
